﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_CALLBACK_TASK.cs
// 项目名称：Lovol 
// 创建时间：2012/2/10
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_CALLBACK_TASK数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_CALLBACK_TASK", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_CALLBACK_TASK", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_CALLBACK_TASK_Entity
    {
        #region 变量定义
        ///<summary>
        ///客户编号
        ///</summary>
        private string _cUSTOMERID;
        ///<summary>
        ///客户姓名
        ///</summary>
        private string _cUSTOMERNAME = String.Empty;
        ///<summary>
        ///活动编号
        ///</summary>
        private long _tASK_ID;
        ///<summary>
        ///活动名称
        ///</summary>
        private string _tASK_NAME = String.Empty;
        ///<summary>
        ///分配时间
        ///</summary>
        private DateTime? _aSSIGN_DATE;
        ///<summary>
        ///首次联络时间
        ///</summary>
        private DateTime? _fIRST_CONTACT_DATE;
        ///<summary>
        ///最后联络时间
        ///</summary>
        private DateTime? _lAST_CONTACT_DATE;
        ///<summary>
        ///当前处理人编号
        ///</summary>
        private long? _cURRENT_ID = 0;
        ///<summary>
        ///当前处理人
        ///</summary>
        private string _cURRENT_NAME = String.Empty;
        ///<summary>
        ///联络结果
        ///</summary>
        private string _cASE_STATUS = String.Empty;
        ///<summary>
        ///分配结果
        ///</summary>
        private long? _cASE_ASSIN_STATUS = 0;
        ///<summary>
        ///联络进程
        ///</summary>
        private long? _cASE_PROCESS = 0;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///最后修改人编号
        ///</summary>
        private long? _lASTMODIFYPEOPLEID = 0;
        ///<summary>
        ///最后修改人
        ///</summary>
        private string _lASTMODIFYPEOPLE = String.Empty;
        ///<summary>
        ///最后修改时间
        ///</summary>
        private DateTime? _lASTMODIFYTIME;
        ///<summary>
        ///事业部编码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///备注信息
        ///</summary>
        private string _rEMARKS = String.Empty;
        ///<summary>
        ///联络次数
        ///</summary>
        private long? _cONTACTNUM = 0;
        ///<summary>
        ///回访备注
        ///</summary>
        private string _vISITREMARK = String.Empty;
        ///<summary>
        ///是否回访成功
        ///</summary>
        private string _iSVISITCOMPLATE = String.Empty;
        ///<summary>
        ///用户建议
        ///</summary>
        private string _uSERRECOMMENDED = String.Empty;
        ///<summary>
        ///经销商是否主动联系
        ///</summary>
        private string _iSINITIATIVECONTACT = String.Empty;
        ///<summary>
        ///是否对车辆基本信息了解
        ///</summary>
        private string _iSUNDERSTANDVEHICLEINFO = String.Empty;
        ///<summary>
        ///是否已购机
        ///</summary>
        private string _iSHASPURCHASE = String.Empty;
        ///<summary>
        ///客户购车信息来源
        ///</summary>
        private string _sOURCE = String.Empty;
        ///<summary>
        ///（已购车或已决定购车、犹豫中、购买其它品牌）客户原因分析
        ///</summary>
        private string _cAUSEANALYSIS = String.Empty;
        ///<summary>
        ///名单来源
        ///</summary>
        private string _iNFOSOURCE = String.Empty;
        ///<summary>
        ///对象编号
        ///</summary>
        private string _oBJID = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_CALLBACK_TASK_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///客户编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true)]
        [SqlColumn(IncrementPrimaryKey = false, PrimaryKey = true)]
        public string CUSTOMERID
        {
            get { return _cUSTOMERID; }
            set
            {
                _cUSTOMERID = value;
            }

        }

        ///<summary>
        ///客户姓名
        ///</summary>		
        public string CUSTOMERNAME
        {
            get { return _cUSTOMERNAME; }
            set
            {
                _cUSTOMERNAME = value;
            }

        }

        ///<summary>
        ///活动编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true)]
        public long TASK_ID
        {
            get { return _tASK_ID; }
            set { _tASK_ID = value; }

        }

        ///<summary>
        ///活动名称
        ///</summary>		
        public string TASK_NAME
        {
            get { return _tASK_NAME; }
            set
            {
                _tASK_NAME = value;
            }

        }

        ///<summary>
        ///分配时间
        ///</summary>		
        public DateTime? ASSIGN_DATE
        {
            get { return _aSSIGN_DATE; }
            set { _aSSIGN_DATE = value; }

        }

        ///<summary>
        ///首次联络时间
        ///</summary>		
        public DateTime? FIRST_CONTACT_DATE
        {
            get { return _fIRST_CONTACT_DATE; }
            set { _fIRST_CONTACT_DATE = value; }

        }

        ///<summary>
        ///最后联络时间
        ///</summary>		
        public DateTime? LAST_CONTACT_DATE
        {
            get { return _lAST_CONTACT_DATE; }
            set { _lAST_CONTACT_DATE = value; }

        }

        ///<summary>
        ///当前处理人编号
        ///</summary>		
        public long? CURRENT_ID
        {
            get { return _cURRENT_ID; }
            set { _cURRENT_ID = value; }

        }

        ///<summary>
        ///当前处理人
        ///</summary>		
        public string CURRENT_NAME
        {
            get { return _cURRENT_NAME; }
            set
            {
                _cURRENT_NAME = value;
            }

        }

        ///<summary>
        ///联络结果
        ///</summary>		
        public string CASE_STATUS
        {
            get { return _cASE_STATUS; }
            set { _cASE_STATUS = value; }

        }

        ///<summary>
        ///分配结果
        ///</summary>		
        public long? CASE_ASSIN_STATUS
        {
            get { return _cASE_ASSIN_STATUS; }
            set { _cASE_ASSIN_STATUS = value; }

        }

        ///<summary>
        ///联络进程
        ///</summary>		
        public long? CASE_PROCESS
        {
            get { return _cASE_PROCESS; }
            set { _cASE_PROCESS = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///最后修改人编号
        ///</summary>		
        public long? LASTMODIFYPEOPLEID
        {
            get { return _lASTMODIFYPEOPLEID; }
            set { _lASTMODIFYPEOPLEID = value; }

        }

        ///<summary>
        ///最后修改人
        ///</summary>		
        public string LASTMODIFYPEOPLE
        {
            get { return _lASTMODIFYPEOPLE; }
            set
            {
                _lASTMODIFYPEOPLE = value;
            }

        }

        ///<summary>
        ///最后修改时间
        ///</summary>		
        public DateTime? LASTMODIFYTIME
        {
            get { return _lASTMODIFYTIME; }
            set { _lASTMODIFYTIME = value; }

        }

        ///<summary>
        ///事业部编码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///备注信息
        ///</summary>		
        public string REMARKS
        {
            get { return _rEMARKS; }
            set
            {
                _rEMARKS = value;
            }

        }

        ///<summary>
        ///联络次数
        ///</summary>		
        public long? CONTACTNUM
        {
            get { return _cONTACTNUM; }
            set { _cONTACTNUM = value; }

        }


        ///<summary>
        ///回访备注
        ///</summary>		
        public string VISITREMARK
        {
            get { return _vISITREMARK; }
            set
            {
                _vISITREMARK = value;
            }

        }

        ///<summary>
        ///是否回访成功
        ///</summary>		
        public string ISVISITCOMPLATE
        {
            get { return _iSVISITCOMPLATE; }
            set
            {
                _iSVISITCOMPLATE = value;
            }

        }

        ///<summary>
        ///用户建议
        ///</summary>		
        public string USERRECOMMENDED
        {
            get { return _uSERRECOMMENDED; }
            set
            {
                _uSERRECOMMENDED = value;
            }

        }

        ///<summary>
        ///经销商是否主动联系
        ///</summary>		
        public string ISINITIATIVECONTACT
        {
            get { return _iSINITIATIVECONTACT; }
            set
            {
                _iSINITIATIVECONTACT = value;
            }

        }

        ///<summary>
        ///是否对车辆基本信息了解
        ///</summary>		
        public string ISUNDERSTANDVEHICLEINFO
        {
            get { return _iSUNDERSTANDVEHICLEINFO; }
            set
            {
                _iSUNDERSTANDVEHICLEINFO = value;
            }

        }

        ///<summary>
        ///是否已购机
        ///</summary>		
        public string ISHASPURCHASE
        {
            get { return _iSHASPURCHASE; }
            set
            {
                _iSHASPURCHASE = value;
            }

        }

        ///<summary>
        ///客户购车信息来源
        ///</summary>		
        public string SOURCE
        {
            get { return _sOURCE; }
            set
            {
                _sOURCE = value;
            }

        }

        ///<summary>
        ///（已购车或已决定购车、犹豫中、购买其它品牌）客户原因分析
        ///</summary>		
        public string CAUSEANALYSIS
        {
            get { return _cAUSEANALYSIS; }
            set
            {
                _cAUSEANALYSIS = value;
            }

        }


        ///<summary>
        ///名单来源
        ///</summary>		
        public string INFOSOURCE
        {
            get { return _iNFOSOURCE; }
            set
            {
                _iNFOSOURCE = value;
            }

        }

        ///<summary>
        ///对象编号
        ///</summary>		
        public string OBJID
        {
            get { return _oBJID; }
            set
            {
                _oBJID = value;
            }

        }
		
        #endregion

    }
}
